package com.yfp.tissue.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yfp.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 抽奖
 * 
 * @CreateDate: 2024/9/19 11:23
 * @UpdateUser: 
 * @UpdateDate: 2024/9/19 11:23
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Data
public class PositionDrawVO implements Serializable {

    @Schema(description = "主键ID")
    private Long id;

    @Excel(name = "序号", needMerge = true,scale = 1)
    private Integer serialNumber;

    @Schema(description = "点位名称")
    @Excel(name = "点位", needMerge = true,scale = 3)
    private String positionName;

    @Schema(description = "区域名称")
    @Excel(name = "区域名称", needMerge = true,scale = 2)
    private String areaName;

    @Schema(description = "点位ID")
    private String positionId;

    @Schema(description = "点位图片")
    @Excel(name = "点位图", needMerge = true,scale = 4)
    private String positionImg;

    @Schema(description = "状态0未抽奖1已抽奖")
    @Excel(name = "状态", needMerge = true,scale = 5,readConverterExp ="0=未抽奖,1=已抽奖")
    private Integer status;

    @Schema(description = "备注")
    @Excel(name = "备注", needMerge = true,scale = 6)
    private String remarks;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Schema(description = "区域ID")
    private String areaId;
    @Schema(title = "城市名称")
    private String cityName;
}
